//
//  DwonloadViewController.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/5/11.
//

import UIKit

class DwonloadViewController: CommonViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        title = "下载管理"
        let btn = UIButton(type: .custom)
        btn.setTitle("编辑", for: .normal)
        btn.setTitleColor(B000_COLOR, for: .normal)
        btn.setTitleColor(B999_TITLE_COLOR, for: .disabled)
        btn.titleLabel?.font = Font_Size_14
        btn.addTarget(self, action: #selector(editTap), for: .touchUpInside)
        let edititem = UIBarButtonItem.init(customView: btn)
        self.navigationItem.rightBarButtonItem = edititem
        btn.isEnabled = false
    }
    @objc func editTap(){
        
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
